package com.lovo.ssc.service.impl;

import com.lovo.ssc.bean.OrderGoods;
import com.lovo.ssc.mapper.OrderGoodsMapper;
import com.lovo.ssc.service.IOrderGoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 订单商品中间表 服务实现类
 * </p>
 *
 * @author lovo
 * @since 2022-07-12
 */
@Service
public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGoods> implements IOrderGoodsService {

    @Override
    public int add(OrderGoods orderGoods) {
        return baseMapper.insert(orderGoods);
    }
}
